import http from '@/Utils/request'

export const Getgoods = (data) => http.get('/api/getgoods', data)
export const Search = (data, token) => http.get(`/api/search/${data}`, token)
export const Add = (data, token) => http.post('/api/add', data, token)
export const GetBigimg = (data, token) =>
  http.get(`/api/getBigimg/${data}`, token)
export const GetSmallimg = (data, token) =>
  http.get(`/api/getSmallimg/${data}`, token)
